<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8"></meta>
<script type="text/javascript" src="/js/vue.js"></script>
<title>Vue.js</title>
</head>
<body>
	<h1>Template三种写法</h1>
	<hr></hr>
	<div id="app">
		{{meassage}}
	</div>
	<template id="dd2">
		<h2 style="color:red">我是Template标签模板</h2>
	</template>
	
	<script type="x-template" id="dd3">
		<h2 style="color:red">我是sript标签模板</h2>
	</script>
	
	<script type="text/javascript">
		var app = new Vue({
			
			el:'#app',
			data:{
				meassage:'hello world'
			},
			/* template:`
				<h2>我是选项模板</h2>
			` */
			template:"#dd3"
		});
	</script>
</body>
</html>